package edu.liushao.entity;

import java.io.Serializable;
import java.util.List;
import java.util.*;

/**
 * @program: untitled
 * @ClassName SpecialClass
 * @description:  特殊的类型
 * @author: 刘庆东
 * @create: 2024−11-27 15:13
 * @Version 1.0
 **/

public class SpecialClass  implements Serializable {

    //数组
    private String[] hobby;
    //集合
    private List<String> list;
    private Map<String,String> maps;
    private Set<String> sets;

    @Override
    public String toString() {
        return "SpecialClass{" +
                "hobby=" + Arrays.toString(hobby) +
                ", list=" + list +
                ", maps=" + maps +
                ", sets=" + sets +
                '}';
    }

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Map<String, String> getMaps() {
        return maps;
    }

    public void setMaps(Map<String, String> maps) {
        this.maps = maps;
    }

    public Set<String> getSets() {
        return sets;
    }

    public void setSets(Set<String> sets) {
        this.sets = sets;
    }
}
